//
//  VSHttpRequest.h
//  Vstore
//
//  Created by Apple on 15/1/7.
//  Copyright (c) 2015年 LITB. All rights reserved.
//

#import <Foundation/Foundation.h>


@protocol VSHttpRequestProtocol <NSObject>

- (NSString *)baseServerUrl;

- (NSString *)subUri;

@end


@interface VSHttpRequest : NSObject <VSHttpRequestProtocol>

/**
 *  Convert to http request url
 */
- (NSString *)url;

/**
 *  Convert to http request body parameters
 */
- (NSDictionary *)toParameters;

/**
 *  Translate to dictionary.
 */
- (NSDictionary *)toDictionary;

@end
